package net.huashitong.ssydt.base.service;

import net.huashitong.ssydt.base.dao.BaseMapper;
import net.huashitong.ssydt.base.dao.LongMapper;
import net.huashitong.ssydt.base.entity.LongEntity;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.11.14
 */
public abstract class AbstractLongService<T extends LongEntity> extends AbstractBaseService<T, Long> implements LongService<T> {

    protected abstract LongMapper<T> getLongMapper();

    @Override
    protected BaseMapper<T, Long> getBaseMapper() {
        return getLongMapper();
    }
}
